<html>
<body>
<h1>SMTP Agent</h1>

<h2>Dependencies</h2>
nhinSMTP.dll uses the NHINDAgent .NET object implemented in <a href="http://code.google.com/p/nhin-d-agent/source/browse/#svn/trunk/src/nhincore">NHINCore.dll</a>.
<p>
<a href="http://code.google.com/p/nhin-d-agent/">NHINAgent Project.</a>

<h2>Installation</h2>

<h3>Registering SMTP Event Handlers</h3>
You register event sinks using the <b>smptreg.vbs</b> script. 
<h4>(Win2K8) Verify Registry Permissions</h4>
Smptreg.vbs needs access to the following registry key:
<br />
<b>HKEY_CLASSES_ROOT\CLSID\{CD000005-8B95-11D1-82DB-00C04FB1625D}</b>
<p/>
On Windows 2008 the Trusted Installer owns the registry key and disallows all other access. 

For smptreg.vbs to work correctly, you should <i>transfer ownership</i> of the registry key to <b>Administrators</b>.
<ul>
<li>Launch RegEdit</li>
<li>Locate registry key</li>
<li>Right click on the key, select <b>Permissions</b></li>
<li>Click Advanced</li>
<li>Select the <b>Owner</b> Tab</li>
<li>Give ownership to Administrators</li>
</ul>

<h3>Customizing Handlers</h3>
TODO....
<ul>
</ul>
</html>
